package com.myjoje.bean.system;

import com.myjoje.base.BaseUuidBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 菜单和角色关系
 */
@Entity
@Table(name = "sy_menu_role")
public class MenuRoleBean extends BaseUuidBean {

    @Column(columnDefinition = "varchar(40) COMMENT '角色编码'")
    private String roleId;

    @Column(columnDefinition = "varchar(8888) COMMENT '菜单id的集合'")
    private String menuIds;

    @Column(columnDefinition = "varchar(10) COMMENT '系统标志'")
    private String flag;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getMenuIds() {
        return menuIds;
    }

    public void setMenuIds(String menuIds) {
        this.menuIds = menuIds;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }
}
